home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / glass / glass.lha / GLASS / glue / gconst.h < prev    next >
Encoding:
C/C++ Source or Header  |  1991-01-31  |  1.8 KB  |  63 lines

  1.  
  2. /*
  3.  
  4.     This file is a part of the GLASS source distribution 
  5.     and therefore subjected to the copy notice below. 
  6.     
  7.     Copyright (C) 1989,1990  S.J. Klaver, R Doesborg
  8.               email: simon@sagan.nl
  9.  
  10.     This program is free software; you can redistribute it and/or modify
  11.     it under the terms of the GNU General Public License as published by
  12.     the Free Software Foundation version 1
  13.  
  14.     This program is distributed in the hope that it will be useful,
  15.     but WITHOUT ANY WARRANTY; without even the implied warranty of
  16.     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  17.     GNU General Public License for more details.
  18.  
  19.     You should have received a copy of the GNU General Public License
  20.     along with this program; if not, write to the Free Software
  21.     Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  22. */
  23. /* File gconst.h
  24.    Constants for GLUE program
  25. */
  26.  
  27. /* Constants for terminal */
  28. #define NORMAL 0
  29. #define REVERSE 1
  30. #define BOLD 2
  31. #define LINELENGTH 80
  32. #define KEY_ESCAPE 27
  33. #define KEY_RETURN 13
  34.  
  35. /* Line number of the menu, 0 is the first line */
  36. #define MENULINE 2
  37.  
  38.  
  39. /* PWIN0 and PWIN1 are the corners of the parameter window.
  40.    PORG is the origin of the list of parameters.
  41.    PARMLINE is the first line of the parameter window when a parameter
  42.      window is used together with a menu
  43.    PARMLINEPAR is the first line of the parameter window if nothing
  44.      else is on the screen
  45. */
  46.  
  47. #define PARMLINE 4
  48. #define PARMLINEPAR 1
  49. #define PWINX0 0
  50. #define PWINY0 0
  51. #define PWINX1 77
  52. #define PWINY1 15
  53. #define PORGX  PWINX0+4
  54. #define PORGY  PWINY0+2
  55. #define PACCEPTX PWINX0+2
  56. #define PRESTOREX PWINX0+20
  57. #define ACCEPTSTR " Accept "
  58. #define RESTORESTR " Restore "
  59.  
  60. /*  If AUTOADVANCE is defined, the menu advances automatically
  61.     after a String, Integer or Real is changed.
  62. */
  63.